package com.jwdf.uda.event;

import com.jwdf.uda.ui.adapter.item.ReplyDetailItem;
import com.jwdf.uda.utils.EventBusUtil;

/**
 * Created by Administrator on 2016/9/21.
 */
public class ReplyDetailItemClickEvent implements EventBusUtil.IEvent {
    public static final int EVENT_COMMENT_LIKE_CLICK = 0x1;
    public static final int EVENT_COMMENT_ITEM_CLICK = 0x2;
    private int event;
    private ReplyDetailItem item;

    public ReplyDetailItemClickEvent(ReplyDetailItem item) {
        this.item = item;
        this.event = EVENT_COMMENT_ITEM_CLICK;
    }

    public ReplyDetailItemClickEvent(ReplyDetailItem item, int event) {
        this(item);
        this.event = event;
    }

    public ReplyDetailItem getItem() {
        return item;
    }

    public int getEvent() {
        return event;
    }
}
